package org.hard.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: 王林博
 * @date: 2022年08月09日 18:20
 */
@RestController
public class DefaultHystrixController {
    @GetMapping(value = "/fallback")
    public String fallback(){
        System.out.println("fallback****************Gateway");
        return "welcome to fallback";
    }
}
